-- GENERATED SPELL FOR [Bladespire Chef] --


function spell0_20756(pUnit, Event) --@Meat Slap,n/a--
pUnit:FullCastSpellOnTarget(37597,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20756', 545, 1)
end

function spell1_20756(pUnit, Event) --@Tenderize,n/a--
pUnit:FullCastSpellOnTarget(37596,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20756', 30290, 1)
end

function Sorts_20756(pUnit, Event)
local choix_sorts_20756 = math.random(0, 1)
if choix_sorts_20756 == 0 then
pUnit:RegisterEvent('spell0_20756', 1, 1)
end
if choix_sorts_20756 == 1 then
pUnit:RegisterEvent('spell1_20756', 1, 1)
end
end

function mob20756_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20756', math.random(1500, 3000), 1)
end

function mob20756_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20756_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20756_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20756, 1, 'mob20756_Action')
RegisterUnitEvent(20756, 2, 'mob20756_Leave')
RegisterUnitEvent(20756, 3, 'mob20756_Kill')
RegisterUnitEvent(20756, 4, 'mob20756_Die')
